from datasets import load_from_disk

# 指定本地数据集目录
local_directory = '/data/trans_data/newstest/iic/WMT-Chinese-to-English-Machine-Translation-newstest/master/data_files'

# 从本地加载数据集
ds = load_from_disk(local_directory)

# 打印数据集信息
print(ds)



